package com.runfast.waimai.dao.mapper;

import com.runfast.common.dao.IMapper;
import com.runfast.waimai.dao.model.RunfastTransorder;
import com.runfast.waimai.dao.model.RunfastTransorderExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RunfastTransorderMapper extends IMapper<RunfastTransorder, Integer, RunfastTransorderExample> {
   List< RunfastTransorder> findByresShopperId(@Param("resshopperid") Integer resshopperid, @Param("status") Integer status);


    RunfastTransorder findByorderCode(Integer orderid);

    RunfastTransorder findByorderCode1(String orderCode);

    List<RunfastTransorder> findAndresshopperid(@Param("page") Integer page, @Param("pageSize") Integer pageSize, @Param("resshopperid") Integer resshopperid);
}